package com.study.spring.disruptor;

/**
 * 功能描述：
 * <p>
 * author: ZACK
 * date: 2021/3/10 23:15
 */
public class TradeTransaction {

    private String id;

    private double price;

    public TradeTransaction() {
    }

    public TradeTransaction(String id, double price) {
        this.id = id;
        this.price = price;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "TradeTransaction{" +
                "id='" + id + '\'' +
                ", price=" + price +
                '}';
    }
}
